package com.raymond.mybatisspring;

import com.raymond.mybatisspring.pojo.User;
import com.raymond.mybatisspring.service.UserService;
import com.raymond.mybatisspring.util.SpringUtil;

/**
 * @author raymond 2013-11-17 下午4:53:58
 * 
 */
public class Test {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		UserService fooService = SpringUtil.getBean("userService", UserService.class);
		User user = fooService.getSomeOneById("1");
		System.out.println(user);
	}

}
